import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

Vue.config.productionTip = false
Vue.prototype.$axios = axios

// 全局注册自定义指令
Vue.directive('bgColor',(el,binding)=>{
     el.style.background =store.state.bgColor 
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
